<?php

/**
 * SPaciente form.
 *
 * @package    fisio-ud
 * @subpackage form
 * @author     Johan AR <j3valentin@gmail.com>
 */
class MyUserForm extends sfGuardUserForm
{
  public function configure() {
    parent::configure();
    $this->widgetSchema['sf_guard_user_group_list'] = new sfWidgetFormPropelChoice(array('multiple' => false, 'model' => 'sfGuardGroup'), array('disabled' => 'disabled'));
    $this->widgetSchema['sf_guard_user_group_list']->setLabel('Grupo');
    $this->widgetSchema['password'] = new sfWidgetFormInputHidden();
    $this->widgetSchema['password_again'] = new sfWidgetFormInputHidden();
    unset ($this['is_active']);
  }
}